package com.movie.demo.pojo.vo;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DiscussInfo {

    @TableId
    private int did;
    @TableField
    private int uid;
    @TableField
    private int mid;
    @TableField
    private String content;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date distime;
    @TableField
    private String name;
    @TableField
    private String avatar;
    @TableField
    private String account;
    @TableField
    private String chinese_name;
}
